﻿using IM.Easy.GenServices.Dtos.Gen.Vue3._0;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IM.Easy.GenServices.Dtos.Gen
{
    /// <summary>
    /// 生成模型
    /// </summary>
    public class GenModel
    {
        public GenModel()
        {
            Controller = new ControllerTemplateModel();
            Service = new ServiceTemplateModel();
            Entity = new EntityTemplateModel();
        }
        /// <summary>
        /// 需要生成的控制器
        /// </summary>
        public ControllerTemplateModel Controller { get; set; }

        /// <summary>
        /// 需要生成的service
        /// </summary>
        public ServiceTemplateModel Service { get; set; }

        /// <summary>
        /// service接口
        /// </summary>
        public InterfaceTemplateModel IService { get; set; }

        /// <summary>
        /// 生成的实体
        /// </summary>
        public EntityTemplateModel Entity { get; set; }

        /// <summary>
        /// 生成的Dto
        /// </summary>
        public DtoTemplateModel Dto { get; set; }

        /// <summary>
        /// vue3.0代码
        /// </summary>
        public VueIndexTemplateModel VueIndex { get; set; }

        /// <summary>
        /// 模板
        /// </summary>
        public IEnumerable<Template> Templates { get; set; }
    }


}
